package com.cloud.drore.eboss.supplier.service.impl;


import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.text.SimpleDateFormat;


/**
 * 浙江卓锐科技股份有限公司 版权所有 © Copyright 2018<br>
 *
 * @Description: 财务模块接口<br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/01/22 11:23 <br>
 * @Author: <a href="836327318@qq.com">夏凯</a>
 */
@Component
public class SaveLoggerAdBugTimer {

    @Scheduled(cron = "00 01 03 * * ?")
    public void SaveLogger() {

    }

    @Scheduled(cron = "0/65 * * * * ?")
    public static void deleteLoggerMonthAgo() {
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        System.out.println(dateFormat.format(System.currentTimeMillis()));
    }




}